Skip to content

fix(utils): Preserve explicit database values in write_data - #117

Merged
caterryan merged 1 commit into
mainfrom
codex/write-data-database-none
Jul 14, 2026
Merged

fix(utils): Preserve explicit database values in write_data#117
caterryan merged 1 commit into
mainfrom
codex/write-data-database-none

Conversation

@caterryan

@caterryan caterryan commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator
  • route write_data through cross-db write methods whenever database is not None
  • preserve explicit empty/invalid database strings so the engine can validate them

We need this because None is the sentinel for “use the trigger DB.” Any explicit string value, including an empty or invalid database name, should take the cross-db path so the engine can validate it and return the correct error instead of silently writing to the trigger DB.

@caterryan caterryan changed the title Preserve explicit database values in write_data fix(utils): Preserve explicit database values in write_data Jul 14, 2026
@caterryan
caterryan merged commit b14b703 into main Jul 14, 2026
5 checks passed
@caterryan
caterryan deleted the codex/write-data-database-none branch July 14, 2026 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants